package com.shark.uh.service;

import cn.dev33.satoken.stp.SaTokenInfo;
import com.shark.uh.model.entity.UserInfo;
import com.shark.uh.model.vo.UserVO;
import com.shark.uh.model.dto.user.UserBindDTO;
import com.shark.uh.model.dto.user.UserLoginDTO;
import com.shark.uh.model.dto.user.UserCreateDTO;
import com.shark.uh.model.dto.user.UserUpdateDTO;
import com.shark.uh.model.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 *
 */
public interface UserService extends IService<User> {

    UserInfo getUserInfoById(Long userId);

    void updateUser(UserUpdateDTO request);
    UserVO getUserInfo();
    void bind(UserBindDTO request);
    void unbind(UserBindDTO request);

    int countByEmail(String email);

    int activeUser(String email);

}
